﻿using System.ComponentModel.Composition;
using System.Windows.Controls;
using PowerGui.AddOn;
using PowerGui.AddOn.Interfaces;

namespace PowerGUIVsx.UserInterface
{
    /// <summary>
    /// Interaction logic for InputOutputWindowWrapper.xaml
    /// </summary>
    public partial class InputOutputWindowWrapper : UserControl
    {
        [Import]
        public IConsole Console { get; set; }

        public InputOutputWindowWrapper()
        {
            InitializeComponent();

            PowerGuiComposer.Compose(this, false);

            wpfFormsHost.Child = Console.Control;
        }
    }

}
